﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Map.aspx.cs" Inherits="Map" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>地图</title>
    <link href="../../Style/Style.css" type="text/css" rel="STYLESHEET">
    <link href="../Style/CommonStyle.css" type="text/css" rel="STYLESHEET">
    <link href="../Controls/lsfTabControl/styles/tabcontrol.css" type="text/css" rel="Stylesheet" />
    <link rel="stylesheet" type="text/css" href="http://liusf/arcgis_js_api/library/3.8/3.8/js/dojo/dijit/themes/tundra/tundra.css" />
    <link rel="stylesheet" type="text/css" href="http://liusf/arcgis_js_api/library/3.8/3.8/js/esri/css/esri.css" />
    <link rel="Stylesheet" type="text/css" href="../Style/map.css" />
    <link rel="Stylesheet" type="text/css" href="../Scripts/JQuery.ztree/zTreeStyle/zTreeStyle.css" />
    <script type="text/javascript"   src="../Scripts/JSConfig.js"></script>
    <script type="text/javascript" src="http://liusf/arcgis_js_api/library/3.8/3.8/init.js"></script>
    <script type="text/javascript"   src="../Scripts/Map.js"></script>
    <script type="text/javascript"   src="../Scripts/JQuery.ztree/jquery.ztree.all-3.5.min.js"></script>
</head>
<body style="overflow: hidden" onload="funload()">
    <form id="main" method="post" runat="server" onsubmit="return false;">
    <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
        <!--顶部标题栏、日期时间等-->
        <tr>
            <td height="50" style="background: url(../images/TitleBg.gif); width: 52%">
                <img src="../images/productYZT<%= Request.QueryString["Action"]%>.png" id="imgTopleft" />
            </td>
            <td height="50" background="../images/TitleBg.gif" width="48%" align="right">
                <script type="text/javascript" language="JavaScript">
                    today = new Date();
                    var d = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
                    document.write("", today.getYear(), "年", today.getMonth() + 1, "月", today.getDate(), "日   ", d[today.getDay()], "");
                </script>
                <img style="margin-bottom: 3px" align="absMiddle" src="../images/time.gif" />
                <span id="t1">
                    <script type="text/javascript"  >
                        todaytime1 = new Date();
                        t1.innerText = todaytime1.getHours() + '：' + todaytime1.getMinutes() + '：' + todaytime1.getSeconds();
                    </script>
                </span>&nbsp;&nbsp;
                <script type="text/javascript"  >
                    function nowtime() {
                        todaytime = new Date();
                        t1.innerText = todaytime.getHours() + '：' + todaytime.getMinutes() + '：' + todaytime.getSeconds()
                    }
                </script>
            </td>
        </tr>
        <!--内容栏-->
        <tr>
            <td colspan="2">
                <table id="idtttt" style="width: 100%; height: 100%; border: 0" border="0" cellpadding="0"
                    cellspacing="0">
                    <tr>
                        <!--左侧导航栏-->
                        <td width="185" height="100%" valign="top" id="td1">
                            <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr bgcolor="#EBE9ED">
                                    <td width="185" background="../images/BackWhite.gif" style="height: 27px">
                                        &nbsp;&nbsp;<img align="absMiddle" height="18" src="../images/node_user.gif" width="18" />&nbsp;<strong><span
                                            style="color: #ffffff"><%="刘树峰"%></span></strong> &nbsp;&nbsp;<img align="absMiddle"
                                                height="18" src="../images/U01.gif" width="18" />&nbsp;<strong><span style="color: #ffffff">联机</span></strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="185" bgcolor="#D4E4F1" height="100%" style="padding-bottom: 5px;">
                                        <table width="185" height="100%" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td height="25">
                                                    <ul id="id_ul" style="background-position: -2; background-repeat: no-repeat;" class="lsfTabControlHeader">
                                                        <li rel='图层管理' class="select"><a class="aleft"></a><a class="acenter">图层管理</a><a
                                                            class="aright"></a></li>
                                                        <%--<li rel='div3' class=""><a class="aleft"></a><a class="acenter">分析</a><a class="aright"></a></li>--%>
                                                    </ul>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td background="../images/Tree_03.jpg" style="padding-bottom: 3px; padding-left: 7px;
                                                    padding-right: 10px;">
                                                    <div class="ztree" id="id_div_layerscontrol" rel="图层管理" style="overflow: auto; height: 100%;
                                                        scrollbar-face-color: #ffffff; scrollbar-highlight-color: #6fa4d0; scrollbar-shadow-color: #6fa4d0;
                                                        scrollbar-3dlight-color: #e6e6e6; scrollbar-arrow-color: #6fa4d0; scrollbar-track-color: #ffffff;
                                                        scrollbar-darkshadow-color: #e6e6e6;">
                                                        <%-- <asp:TreeView ID="id_ListTreeView" runat="server" ExpandDepth="1" ShowLines="True"
                                                            ForeColor="Black" OnTreeNodeCheckChanged="TreeView1_TreeNodeCheckChanged">
                                                            <ParentNodeStyle HorizontalPadding="2px" />
                                                            <RootNodeStyle HorizontalPadding="2px" />
                                                            <LeafNodeStyle HorizontalPadding="2px" />
                                                            <Nodes>
                                                                <asp:TreeNode Text="基础地理数据" Value="YW001" NavigateUrl="../CKQGL/CKQXL/CKQXL.aspx"
                                                                    Target="rform">
                                                                    <asp:TreeNode Checked="true" ShowCheckBox="true" Text="行政区" Value="YW001" NavigateUrl="ProjectListInner.aspx"
                                                                        Target="rform"></asp:TreeNode>
                                                                    <asp:TreeNode Checked="true" ShowCheckBox="true" Text="宗地图" Value="YW001" NavigateUrl="../CKQGL/CKQBG/CKQBG.aspx"
                                                                        Target="rform"></asp:TreeNode>
                                                                </asp:TreeNode>
                                                            </Nodes>
                                                        </asp:TreeView>--%>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25" background="../images/Tree_04.jpg">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <!--中间分隔符栏-->
                        <td width="0%">
                            <table width="0%" border="0" cellpadding="0" cellspacing="0" height="100%">
                                <tr>
                                    <td background="../images/BackWhite.gif" height="27px">
                                    </td>
                                </tr>
                                <tr>
                                    <td bgcolor="#D4E4F1">
                                        <img onclick="visible_click()" style="cursor: hand;" src="../images/Jt_left.gif"
                                            id="middle_picture">
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <!--主内容栏-->
                        <td width="100%" height="100%">
                            <table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
                                <tr>
                                    <td>
                                        <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
                                            <tr>
                                                <td height="27" background="../images/BackWhite.gif">
                                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                        <tr>
                                                            <td align="right" style="color: White">
                                                                <input id="searchbox" value="县" style="border: 1px solid gray; color: blue; width: 150px;
                                                                    height: 20px" />
                                                                <span onclick="settingClick(this)" title="设置查询图层" class="setting"></span><a class="bai"
                                                                    style="cursor: pointer; margin-right: 14px;" onclick="queryByAttribute();" title="查询">
                                                                    <img align="absMiddle" alt="查询" border="0" height="16" src="../mapimages/FDJ.gif"
                                                                        width="16" />&nbsp;</a> <a class="bai" style="cursor: pointer; margin-right: 14px;"
                                                                            onclick="testLocate();" title="定位测试">
                                                                            <img align="absMiddle" alt="定位测试" border="0" height="16" src="../mapimages/FDJ.gif"
                                                                                width="16" />&nbsp;</a> <a class="bai" style="cursor: pointer" onclick="pan();" title="平移">
                                                                                    <img align="absMiddle" alt="平移" border="0" height="16" src="../mapimages/pan.png"
                                                                                        width="16" />&nbsp;</a> <a class="bai" style="cursor: pointer" onclick="fullextend();"
                                                                                            title="全幅">
                                                                                            <img align="absMiddle" alt="全幅" border="0" height="16" src="../mapimages/fullextend.png"
                                                                                                width="16" />&nbsp;</a><a id="zoomprev" class="bai" style="cursor: pointer" onclick="preview();"
                                                                                                    title="前一视图">
                                                                                                    <img align="absMiddle" id="zoomprev" alt="前一视图" border="0" height="16" src="../mapimages/pre.png"
                                                                                                        width="16" />&nbsp;</a><a class="bai" style="cursor: pointer" onclick="nextview();"
                                                                                                            title="后一视图">
                                                                                                            <img align="absMiddle" alt="后一视图" border="0" height="16" src="../mapimages/next.png"
                                                                                                                width="16" />&nbsp;</a> <a class="bai" style="cursor: pointer" onclick="startMeasureDistance();"
                                                                                                                    title="距离量算">
                                                                                                                    <img align="absMiddle" alt="距离量算" border="0" height="16" src="../mapimages/Measure_Distance16.png"
                                                                                                                        width="16" />&nbsp;</a>
                                                                <a class="bai" style="cursor: pointer" onclick="startMeasureArea()" title="面积量算">
                                                                    <img align="absMiddle" alt="面积量算" border="0" height="16" src="../mapimages/Measure_Area16.png"
                                                                        width="16" />&nbsp;</a> <a class="bai" style="cursor: pointer" onclick="clearscreen()"
                                                                            title="清除屏幕">
                                                                            <img align="absMiddle" alt="清除屏幕" border="0" src="../mapimages/clear.png" /></a>&nbsp;&nbsp;&nbsp;
                                                                <div id="div_setting" class="clssetting">
                                                                    <div class="innertop">
                                                                        选择可查询的图层</div>
                                                                    <div class="innercenter">
                                                                        <dl>
                                                                            <%--<dt onclick="spanclick(this)" layername="影像图"><span class="checkbox" ischecked="true"
                                                                                checked="checked"></span>影像图 </dt>
                                                                            <dt onclick="spanclick(this)" layername="宗地图"><span class="checkbox" ischecked="true"
                                                                                checked="checked"></span>宗地图 </dt>--%>
                                                                        </dl>
                                                                    </div>
                                                                    <div class="innerbottom" onclick="selLayerOK()">
                                                                        确定</div>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" width="100%" height="100%">
                                                    <div id="div_map" style="float: left; position: relative; width: 100%; height: 100%;">
                                                        <div class="measureresult" id="div_measureresult" style="position: absolute; z-index: 10000;
                                                            top: 10px; left: 80; width: 300px; height: 25px; -webkit-border-radius: 8px 8px 8px 8px;
                                                            background: rgb(217, 255, 217)">
                                                        </div>
                                                        <span id="info" style="position: absolute; right: 25px; bottom: 5px; color: #000;
                                                            z-index: 50;">aaaaaaaa</span>
                                                    </div>
                                                    <div id="id_div_queryresult" style="height: 100px">
                                                        <%--                                                        <ul id="id_ul_queryresult" style="margin-left: 4px;" class="lsfTabControlHeader">
                                                            <li rel='图层管理' class="select"><a class="aleft"></a><a class="acenter">图层管理</a><a
                                                                class="aright"></a></li>
                                                            <li rel='查询' class=""><a class="aleft"></a><a class="acenter">查询</a><a class="aright"></a></li>
                                                            <li rel='div3' class=""><a class="aleft"></a><a class="acenter">分析</a><a class="aright"></a></li>
                                                        </ul>
                                                        <div id="id_div_innerqueryresult" style="overflow: auto; max-height: 124px">
                                                            <div>
                                                                
                                                            </div>
                                                        </div>--%>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <!--底部栏-->
        <tr>
            <td height="20" colspan="2" background="../images/BottomBg.png" valign="middle">
                <table border="0" cellpadding="0" cellspacing="0" class="small" width="100%">
                    <tr>
                        <td valign="middle">
                            &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                            &nbsp; &nbsp; &nbsp;
                            <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red" Text="" Visible="True"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
